package com.ylbh.common.pojo.push.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author mgh
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Api("运营推送")
public class PushDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "数据 如：订单id，商品id")
    private String data;

    @ApiModelProperty (value = "推送类型：\n" +
            " 1：打开app\n" +
            " 2：打开指定商品\n" +
            " 3：打开指定页面 \n" +
            " 4：打开指定秒杀活动\n" +
            " 5：打开指定联盟店\n" +
            " 6：打开指定web页面\n" +
            " 7：打开指定商品分类\n" +
            " 8： 打开指定联盟店分类\n" +
            " 9：打开指定商城订单详情\n" +
            "10：打开余额页面\n" +
            "11：打开购物券页面\n" +
            "12：打开指定联盟店订单详情\n" +
            "13：打开指定商城退款订单详情\n" +
            "14：打开指定联盟店退款订单详情\n",required = true)
    private Integer type;

    @ApiModelProperty(value = "推送内容",required = true)
    private String content;

    @ApiModelProperty(value = "平台类型 0：送贝商城 1：送贝商家端 2：送贝骑手",required = true)
    private Integer platform;

    @ApiModelProperty(value = "活跃时长")
    private Integer duration;

    @ApiModelProperty(value = "新用户注册时长")
    private Integer registTime;

    @ApiModelProperty(value = "用户活跃度 true：活跃  false：不活跃")
    private Boolean isActive;

    @ApiModelProperty(value = "用户类型")
    private String userType;

}
